package com.wisdomstar.quartz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wisdomstar.quartz.domain.SysJobLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 调度任务日志信息 数据层
 *
 * @author RinMi
 */
@Repository
public interface SysJobLogMapper extends BaseMapper<SysJobLog> {
    /**
     * 获取quartz调度器日志的计划任务
     *
     * @param jobLog 调度日志信息
     * @return 调度任务日志集合
     */
    List<SysJobLog> selectJobLogList(SysJobLog jobLog);


    /**
     * 清空任务日志
     */
    void cleanJobLog();
}
